﻿@{
    ViewBag.Title = "sqlexec";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>sqlexec</h2>
@using (Html.BeginForm("sqlexec", "admin")) {
@Html.TextArea("commandText")

<br/><button type="submit" value="Выполнить"></button>


<br/>@: affected rows : @ViewBag.affectedRows
<br/>@: error : @ViewBag.errorText

         
     }